﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreApp.Model
{
    public class member_base
    {

        public member_base()
        { }
        #region Model
        private int _id;
        private string _member_guid;
        private string _member_phone;
        private string _member_pwd;
        private string _member_unionid;
        private string _member_miniopenid;
        private string _member_openid;
        private string _member_nickname;
        private string _member_authorname;
        private string _member_realname;
        private string _member_headimgurl;
        private bool _member_sex = false;
        private string _member_carid;
        private string _member_email;
        private int? _member_provice = 0;
        private int? _member_city = 0;
        private int? _member_area = 0;
        private string _member_address;
        private string _member_company;
        private int? _member_type = 0;
        private int? _member_status = 0;
        private decimal? _member_points = 0M;
        private int? _member_level = 0;
        private string _member_code;
        private int? _member_refid = 0;
        private DateTime _member_create_time;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string member_guid
        {
            set { _member_guid = value; }
            get { return _member_guid; }
        }
        /// <summary>
        /// 会员手机号，登录账号
        /// </summary>
        public string member_phone
        {
            set { _member_phone = value; }
            get { return _member_phone; }
        }
        /// <summary>
        /// 会员登录密码
        /// </summary>
        public string member_pwd
        {
            set { _member_pwd = value; }
            get { return _member_pwd; }
        }
        /// <summary>
        /// 微信ID号 如同一家公司主体是一样
        /// </summary>
        public string member_unionid
        {
            set { _member_unionid = value; }
            get { return _member_unionid; }
        }
        /// <summary>
        /// 微信小程序用户openid
        /// </summary>
        public string member_miniopenid
        {
            set { _member_miniopenid = value; }
            get { return _member_miniopenid; }
        }
        /// <summary>
        /// 微信公众号用户openid
        /// </summary>
        public string member_openid
        {
            set { _member_openid = value; }
            get { return _member_openid; }
        }
        /// <summary>
        /// 用户昵称 默认取微信
        /// </summary>
        public string member_nickname
        {
            set { _member_nickname = value; }
            get { return _member_nickname; }
        }
        /// <summary>
        /// 文章签名
        /// </summary>
        public string member_authorname
        {
            set { _member_authorname = value; }
            get { return _member_authorname; }
        }
        /// <summary>
        /// 用户真实姓名
        /// </summary>
        public string member_realname
        {
            set { _member_realname = value; }
            get { return _member_realname; }
        }
        /// <summary>
        /// 用户图像 默认取微信
        /// </summary>
        public string member_headimgurl
        {
            set { _member_headimgurl = value; }
            get { return _member_headimgurl; }
        }
        /// <summary>
        /// 用户性别 1为男 0为女
        /// </summary>
        public bool member_sex
        {
            set { _member_sex = value; }
            get { return _member_sex; }
        }
        /// <summary>
        /// 证件ID
        /// </summary>
        public string member_carid
        {
            set { _member_carid = value; }
            get { return _member_carid; }
        }
        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string member_email
        {
            set { _member_email = value; }
            get { return _member_email; }
        }
        /// <summary>
        /// 用户省
        /// </summary>
        public int? member_provice
        {
            set { _member_provice = value; }
            get { return _member_provice; }
        }
        /// <summary>
        /// 用户城市
        /// </summary>
        public int? member_city
        {
            set { _member_city = value; }
            get { return _member_city; }
        }
        /// <summary>
        /// 用户区/县
        /// </summary>
        public int? member_area
        {
            set { _member_area = value; }
            get { return _member_area; }
        }
        /// <summary>
        /// 用户详细地址
        /// </summary>
        public string member_address
        {
            set { _member_address = value; }
            get { return _member_address; }
        }
        /// <summary>
        /// 公司名称（用户类型为企业或医生）
        /// </summary>
        public string member_company
        {
            set { _member_company = value; }
            get { return _member_company; }
        }
        /// <summary>
        /// 用户类型 1为普通用户 2为医生 3为企业
        /// </summary>
        public int? member_type
        {
            set { _member_type = value; }
            get { return _member_type; }
        }
        /// <summary>
        /// 用户状态 1为正常 0为审核 2为资料待完善 3为待审核 4为冻结 5为注销
        /// </summary>
        public int? member_status
        {
            set { _member_status = value; }
            get { return _member_status; }
        }
        /// <summary>
        /// 用户积分情况
        /// </summary>
        public decimal? member_points
        {
            set { _member_points = value; }
            get { return _member_points; }
        }
        /// <summary>
        /// 用户等级
        /// </summary>
        public int? member_level
        {
            set { _member_level = value; }
            get { return _member_level; }
        }
        /// <summary>
        /// 推荐人code
        /// </summary>
        public string member_code
        {
            set { _member_code = value; }
            get { return _member_code; }
        }
        /// <summary>
        /// 推荐人ID
        /// </summary>
        public int? member_refid
        {
            set { _member_refid = value; }
            get { return _member_refid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime member_create_time
        {
            set { _member_create_time = value; }
            get { return _member_create_time; }
        }
        #endregion Model



    }
}
